<?xml version="1.0"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
                                         "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
 <session-factory name="">
  <property name="hibernate.connection.url">jdbc:mysql://localhost/sisgescon</property>
  <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
  <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
  <property name="hibernate.connection.username">root</property>
  <property name="hibernate.connection.password">12345</property>
  <property name="hibernate.show_sql">true</property>
  <property name="hibernate.format_sql">true</property>
  <property name="hibernate.hbm2ddl.auto">update</property>
  <property name="hibernate.c3p0.min_size">5</property>
  <property name="hibernate.c3p0.max_size">20</property>
  <property name="hibernate.c3p0.timeout">180</property>
  <property name="hibernate.c3p0.idle_test_period">100</property>
  <property name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
  <mapping class="entidades.Substancia"/>
  <mapping class="entidades.Especie"/>
  <mapping class="entidades.Laboratorio"/>
  <mapping class="entidades.ContratoAnalise"/>
  <mapping class="entidades.ContratoLaboratorio"/>
  <mapping class="entidades.Documento"/>
  <mapping class="entidades.DocumentoAnalise"/>
  <mapping class="entidades.NotaFiscal"/>
  <mapping class="entidades.OrigemPagamento"/>
  <mapping class="entidades.Usuario"/>
  <mapping class="entidades.Perfil"/>
  <mapping class="entidades.Perfil_usuario"/>
 </session-factory>
</hibernate-configuration>
